package test.java;

import static org.junit.Assert.*;
import main.java.API;
import main.java.Storage;
import main.java.dtos.CAPA;
import main.java.dtos.POI;

import org.junit.Ignore;
import org.junit.Test;

public class APITestCases {

	@Test
	@Ignore
	public void testAsignarPOIaCapa() {
		API api = new  API();
		POI poi = new POI(0, 0, 0, "Default POI");
		CAPA capa = new CAPA(0, "Default CAPA");
		
		api.asignarPOIaCapa(poi, capa);
		
		assertTrue("POI debe estar en Storage", Storage.listaPOI.contains(poi));
		assertTrue("CAPA de estar en Storage", Storage.listaCAPA.contains(capa));
	}

}
